public class JamesBond {

    public boolean jbRegex(String in){
	String pattern = "(\\d)"+"[(]"+"(\\d)"+"007"+"(\\d)"+"[)]"+"(\\d)";
	return in.matches(pattern);
    }
    
}
